package com.abbas.CayTcore.presenter

import com.abbas.CayTcore.base.BasePresenter
import com.abbas.CayTcore.entity.TCoreBase
import com.abbas.CayTcore.model.AddCoreTypeModel
import com.abbas.CayTcore.view.ViewContract

class AddCoreTypePresenter : BasePresenter<ViewContract.AddCoreTypeView, AddCoreTypeModel>() {

    override fun initModel(): AddCoreTypeModel {
        return AddCoreTypeModel()
    }

    fun addCore(core: TCoreBase) {
        //view?.get()?.startAddCore()

        model?.addCore(core, {

        }, {

        })
    }
}